package com.zwj.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zwj.entity.Users;

public interface UsersService {
	
	//登录
	public Users selectUsernameAndPassword(@Param("username") String username,@Param("password") String password);
	
	//依据username查询
	public Users selectUsername(String username);
	
	//查询所有
	public List<Users> selectall(Users users);
	
	//修改密码
	public boolean updatePassword(Users user);
	
}
